<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>定金收据</title>
	</head>


	<style id="style1">
		table tr{
			height: 19pt;
		}
		td {
			height: 6.82mm;
		}
	</style>

	<script type="text/javascript" src="__STATIC__/js/lodop/LodopFuncs.js?v={:time()}"></script>
	<body>
	<div id="dj_top">
		<table border=0 width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse" bordercolor="#000000">
			<caption style="height: 42pt;"><b style="float:left;"><img src="../../../../static/images/logo.jpg" /></b></caption>
			<caption><b style="font-size: 7.2mm;">定金收据</b></caption>
			<tr>
				<td colspan="8" >
					<div style="text-align: right;padding: 5pt 30pt;" >
						第<font tdata="PageNO" format="ChineseNum" color="blue">##</font>页</span>，共<font tdata="PageCount" format="ChineseNum" color="blue">##</font></span>页
					</div>
				</td>
			</tr>
			<tr>
				<td colspan="8" style="border-top: 1.5pt solid rgb(128,128,128);padding:1.5pt">
					<font >单位名称：<span>济南恭德陵园</span></font>
				</td>
			</tr>
			<tr>
				<td colspan="8">
					<div style="width: 33.3%;float:left;"><font >地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<span >济南市柳埠镇柳东村</span></font></div>
					<div style="width: 33.3%;float:left;"><font >电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：<span>0531-82841666</span></font></div>
					<div style="width: 33.3%;float:left;"><font >传&nbsp;&nbsp;真：<span></span></font></div>
				</td>
			</tr>
			<tr>
				<td colspan="8" style="border-bottom: 1pt solid rgb(128,128,128);"><font >网&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<span>www.sdgdly.com</span></font></td>
			</tr>
			<tr>
				<td colspan="8">
					<div style="width: 33.3%;float:left;"><font >客户姓名：<SPAN>{$result['buyer_name']}</SPAN></font> </div>
					<div style="width: 33.3%;float:left;"><font >证件类型：<SPAN>{:cart_type('cart',$result.cart_type)}</SPAN></font> </div>
					<div style="width: 33.3%;float:left;"><font >证件号码：<SPAN>{$result['customer_account']}</SPAN></font> </div>
				</td>
			</tr>
			<tr>
				<td colspan="8">
					<div style="width: 100%;float:left;"><font >联系地址：<SPAN>{$result['customer_address']}</SPAN></font></font> </div>
				</td>
			</tr>
			<tr>
				<td colspan="8">
					<div style="width: 33.3%;float:left;"><font >合同编号：<SPAN>{$result['contract_sn']}</SPAN></font> </div>
					<div style="width: 33.3%;float:left;"><font >墓位编号：<SPAN>{$result['tomb_num']}</SPAN></font> </div>
					<div style="width: 33.3%;float:left;"><font >具体位置：<SPAN>{$result['tomb_region']}</SPAN></font></div>
				</td>
			</tr>
			<tr>
				<td colspan="8">
					<div style="width: 33.3%;float:left;"><font >墓穴规制：<span>{$result['tomb_regulation_name']}</span></font></div>
					<div style="width: 33.3%;float:left;"><font >墓穴状态：<span>{$result['col_status_name']}</SPAN></span></font></div>
					<div style="width: 33.3%;float:left;"><font >操&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;作：<SPAN>定金</SPAN></font> </div>
				</td>
			</tr>
			<tr >
				<td colspan="8" style="border-bottom: 1.5pt solid rgb(128,128,128);border-top: 1pt solid rgb(128,128,128);padding: 2pt 0;">
					<font >定金收款：<span></span></font>
				</td>
			</tr>
			</thead>
		</table>
	</div>
	<div id="dj_bo">
		<TABLE border=0 width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse" bordercolor="#000000">
			<thead>
			<tr>
				<td>序号</td>
				<td colspan="2">项目名称</td>
				<td>数量</td>
				<td>单位</td>
				<td>单价(元)</td>
				<td>优惠</td>
				<td>金额(元)</td>
				<td colspan="4">备注</td>
			</tr>
			</thead>
			<tbody>
				<tr>
					<td>1</td>
					<td colspan="2">购墓</td>
					<td>1</td>
					<td>尊</td>
					<td>{$list['tom_price']}</td>
					<td>{$list['discount_rate']}</td>
					<td>{$list['deposit_price']}</td>
					<td colspan="4">{$list['remark']}</td>
				</tr>
				<for start="0" end="6" step="1" >
					<tr>
						<td height="80" colspan="12"></td>
					</tr>
				</for>
			</tbody>
			<tfoot>
			<tr  >
				<td colspan="8" style="border-top: 1pt solid rgb(128,128,128)"><b>合计</b></td>
				<td colspan="2" style="border-top: 1pt solid rgb(128,128,128)" >￥<font tdata="subSum" format="#,##0.00" align="right"  tindex="7" > ###元</font></td>
			</tr>
			</tfoot>
		</TABLE>
	</div>
	<div id="dj_bott">
			<div style="line-height: 20pt; border-top: 1pt solid rgb(128,128,128);" align=left ><font >质量保证</font></div>
			<div style="line-height: 20pt;border-top:  1px solid rgb(128,128,128);" align=left><font > 1.预付定金购墓，定金金额不低于购墓总价款的10%，不高于购墓总价款的30%。</font></div>
			<div style="line-height: 20pt" align=left><font > 2.预付定金购墓，支付之日起30天内应带好定金收据、火化证明或寿穴使用人身份证，前来支付购墓全款，签订合同，领取
				《墓穴安葬证》、付款凭证和合同；超过30日该预定保留墓穴自动重置，可供他人选购。</font></div>
			<div style="line-height: 20pt" align=left><font > 3.客户预付定金不代表已购该墓穴，且未包含刻字、落葬等费用与服务，付清全款后凭《墓穴安葬证》办理售后业务。</font></div>
			<div style="line-height: 20pt;" align=left><font > 4.支付定金需要退回的，须购墓人退还定金收据；若购墓人本人由于特殊原因不能前来办理的，可委托他人持购墓人签字的 委托书和定金收据前来办理。</font></div>
			<div style="line-height: 20pt;" align=left><font > 5.若客户未在定金交纳后60日退回定金或未另购其他墓穴，逾期后定金不予退还。</font></div>
			<div style="line-height: 20pt;border-bottom:  1pt solid rgb(128,128,128);" align=left><font > 注：   销售结算单打印，定金结算单作废</font></div>
			<div style="line-height: 25pt;border-bottom:  1.5pt solid rgb(128,128,128);" align=center>
				<div style="line-height: 25pt;width: 25%;float:left;"><font >经办人：<span> </span></font></div>
				<div style="line-height: 25pt;width: 25%;float:left;"><font >收款人：<span>{}</span></font></div>
				<div style="line-height: 25pt;width: 25%;float:left;"><font >客户签名：<span></span></font></div>
				<div style="line-height: 25pt;width: 25%;float:left;"><font >日期：<span>{}</span></font></div>
			</div>
	</div>

	<p><a href="javascript:PreviewMytable();">打印预览</a></p>
	<script>
		function PreviewMytable(){
			var LODOP=getLodop();
			LODOP.PRINT_INITA("0mm","0mm","244.74mm","275.17mm","销售结算单");
			LODOP.SET_PRINT_PAGESIZE(0,0,0,"24.1*279.4-结算单");

			var strStyle="<style> table tr{height: 19pt;}</style>";
			LODOP.ADD_PRINT_TABLE("211.5pt","7.5pt","95.892%","342.75pt",strStyle+document.getElementById("dj_bo").innerHTML);

			LODOP.ADD_PRINT_HTM("-4.5pt","7.5pt","95.892%","217.5pt",document.getElementById("dj_top").innerHTML);
			LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
			LODOP.SET_PRINT_STYLEA(0,"LinkedItem",1);
			LODOP.ADD_PRINT_HTM("554.25pt","7.5pt","95.892%","211.5pt",document.getElementById("dj_bott").innerHTML);
			LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
			LODOP.SET_PRINT_STYLEA(0,"LinkedItem",1);

			// LODOP.SET_PREVIEW_WINDOW(0,1,0,900,700,"");//打印前弹出选择打印机的对话框
			// LODOP.SET_PRINT_MODE("AUTO_CLOSE_PREWINDOW",1);//打印后自动关闭预览窗口
			/*if (LODOP.CVERSION) {
				CLODOP.On_Return=function(TaskID,Value){
					console.log(Value)
					if (Value)
						alert("已发出实际打印命令！");
					else
						alert("放弃打印！"); };
				// LODOP.PRINTA();
				return;
			};*/
			// LODOP.PREVIEW();
			LODOP.PRINT_DESIGN();//打印设计
			// LODOP.PRINT_SETUP();//打印维护
		};
	</script>


	</body>
</html>
